<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Insert title here</title>
</head>
<body>

<div th:each="userInfo,Status:${userBean}">
<table>
  <tr>
   <td><a th:href="@{delete(userId=${userInfo.userId})}"><span th:text="${userInfo.userId}"></span></a></td>
 
 <td><a th:href="@{update(userId=${userInfo.userId},userName=${userInfo.userName})}"><span th:text="${userInfo.userName}"></span></a></td>
 
  </tr>
 </table>    
 </div>


 </body>
 </html>








